package com.waterdrop.wlsggk.mapper;


import com.waterdrop.wlsggk.pojo.Dish;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface DishMapper {

    /**
     * 菜品物料列表查询
     *
     * @return
     */
    public List<Dish> selectDishList(Dish Dish);

    /**
     * 批量删除菜品信息
     *
     * @param ids 物料id
     * @return
     */
    public int deleteWlsggkDishByIds(Long[] ids);

    /**
     * id查询菜品
     *
     * @param id
     * @return
     */
    public Dish selectwlsggkDishById(Long id);

    /**
     * 新增菜品
     *
     * @return
     */
    public int insertWlsggkDish(Dish dish);

    /**
     * 修改菜品
     *
     * @return
     */
    public int updateWlsggkDish(Dish dish);
}

